package org.liurq.middleware.es;

import org.elasticsearch.action.get.GetRequest;
import org.elasticsearch.client.RestHighLevelClient;
import org.elasticsearch.client.indices.GetIndexRequest;
import org.springframework.beans.factory.annotation.Autowired;

public class EsDao {
    @Autowired
    RestHighLevelClient restHighLevelClient;

    public boolean isIndexExist(String indexName){
        GetIndexRequest getRequest = new GetIndexRequest("people");
        return false;
    }
}
